package groovy
class Calibrator{
    Calibrator(Cali){
        println("cal")
        Cali()

    }
}
def cal=new Calibrator({
    println("the cal")
})
def cal1={println("another cal")}
new Calibrator(cal1)
